# -*- coding:utf-8 -*-

import pygame

class Ship ():  
    # 用在这里传入，是继承，在init中传参是使用
    
    """"""
    def __init__(self, screen):
        super().__init__()
        self.screen = screen

        self.image = pygame.image.load('./image/ship.bmp')
        self.rect = self.image.get_rect()
        self.screen_rect = screen.get_rect()

        self.rect.centerx = self.screen_rect.centerx
        self.rect.centery = self.screen_rect.centery
        # self.rect.bottom = self.screen_rect.bottom

    
    def blitme (self):
        self.screen.blit(self.image, self.rect)

    def updateShip (self):
        """
        根据移动标志，调整飞船的位置
        """
        